package com.kirk.crawler.constant;

/**
 *  <p> SystemConstants.java </p>
 *
 * @Author      kirkliu
 * @Date        2020-08-29 22:19
 * @version     1.0.0
 * @Description 系统常量
 */
public class SystemConstants {

    // 获取系统路径
    public static final String SYSTEM_ROOT_PATH = System.getProperties().getProperty("user.dir");

    // 系统文件路径分隔符
    public static final String SYSTEM_SEPARATOR = System.getProperties().getProperty("file.separator");

    // 文件协议
    public static final String PROTOCOL_FILE = "file:";


    /** 上下文KEY-用户信息 */
    public static final String CONTEXT_DATA_KEY_USERANME = "user";
    /** 上下文KEY-webservice服务 */
    public static final String CONTEXT_DATA_KEY_WEBSERVICE = "webservice";


    /** 网络代理设置:代理IP */
    public static final String NET_PROXY_SETTING_HOST = "proxyHost";
    /** 网络代理设置:代理端口 */
    public static final String NET_PROXY_SETTING_PORT = "proxyPort";
    /** 网络代理设置:用户名 */
    public static final String NET_PROXY_SETTING_USERNAME = "userName";
    /** 网络代理设置:密码 */
    public static final String NET_PROXY_SETTING_PASSWORD = "password";
    /** 网络代理设置:域 */
    public static final String NET_PROXY_SETTING_DOMAIN = "domain";
    /** 网络代理设置:是否启用 */
    public static final String NET_PROXY_SETTING_ISUSED = "isUsed";


}
